<template>
  <div class="container">
    <div class="spinning-heart"></div>
    <RouterLink to="/" class="back-button">返回</RouterLink>
  </div>
</template>

<style scoped>
.container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #ff69b4, #ff1493);
}

.spinning-heart {
  width: 80px;
  height: 80px;
  background: red;
  position: relative;
  transform-origin: center center;
  animation: spin 4s infinite linear;
}

.spinning-heart:before,
.spinning-heart:after {
  content: '';
  width: 80px;
  height: 80px;
  background: red;
  border-radius: 50%;
  position: absolute;
}

.spinning-heart:before {
  left: -40px;
}

.spinning-heart:after {
  top: -40px;
}

@keyframes spin {
  0% { transform: rotate(45deg) scale(1); }
  50% { transform: rotate(225deg) scale(1.2); }
  100% { transform: rotate(405deg) scale(1); }
}

.back-button {
  margin-top: 2rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 1.5rem;
  background: rgba(255, 255, 255, 0.9);
  color: #ff1493;
  text-decoration: none;
  font-weight: bold;
  transition: all 0.3s;
}

.back-button:hover {
  transform: scale(1.1);
  background: white;
}
</style> 